package com.jml.生命周期003.entity;
import org.springframework.stereotype.Component;

@Component
public class UserEntity生命周期基于initMethod {

	public UserEntity生命周期基于initMethod() {
		System.out.println(">>>>UserEntity无参数构造函数执行...");
	}

	/**
	 * 思考：initMethod是在无参构造函数之前执行还是后执行..
	 */
	private void initMethodTest() {
		System.out.println(">>>>UserEntity initMethod 执行...");
	}

	private void destroyMethodTest() {
		System.out.println(">>>>UserEntity destroyMethod 执行...");
	}
}
